/**
 * Created by zengy on 2017/6/8.
 */
var http = HttpRequest.prototype;
//评论列表
http.getCommentList=function (params,cb) {
    var opts = {
        url : baseUrl + '/commentManager/getCommentList',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//评论审核
http.checkComment=function (params,cb) {
    var opts = {
        url : baseUrl + '/commentManager/checkComment',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//客服拨打电话
http.customServiceCalling=function (params,cb) {
    var opts = {
        url : baseUrl + '/mobileConsultManager/customServiceCalling',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//导出
http.exportCommentManagerExcel=function (params,cb) {
    var opts = {
        url : baseUrl + '/commentManager/getExportUrl',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
//获取标签列表
http.getTags=function (cb) {
    var opts = {
        url : baseUrl + '/commentManager/getTags',
        type : 'POST',
    };
    this.baseRequest(cb,opts)
}
//编辑
http.editTags=function (params,cb) {
    var opts = {
        url : baseUrl + '/commentManager/editTags',
        type : 'POST',
        data:params
    };
    this.baseRequest(cb,opts)
}
